package com.opNaga.bpmp.connectingObject.messageFlow;

import com.opNaga.bpmp.BPMPElement;
import com.opNaga.bpmp.connectingObject.ConnectingObjectTarget;
import com.opNaga.bpmp.swimlane.HasRoot;

import java.util.Iterator;

/**
 * User: Junyi BEI
 * Date: 19/01/2012
 * Time: 14:03
 */
public interface MessageFlowTarget extends ConnectingObjectTarget, HasRoot {
  public boolean addInwardMessageFlow(BPMPElement be);

  public boolean removeInwardMessageFlow(BPMPElement be);

  public boolean isInwardMessageFlowEmpty();

  public int inwardMessageFlowSize();

  public Iterator<BPMPElement> iterateInwardMessageFlows();
}
